home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Adobe Graphics & Publishing SDK 1996 December
/
Adobe Graphics & Publishing SDK 1996 December.iso
/
mac
/
PageMaker 6.5 SDK Mac
/
SourceCode
/
PageMakerClassLibrary
/
Commands
/
PPageNumbers.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1996-10-10
|
934b
|
33 lines
/*
*--- PPageNumbers.cpp ----------------------------------------------------
* Copyright (c) 1995-96 Adobe Systems Incorporated. All rights reserved.
* Created on Sun, Oct 22, 1995 @ 4:19 PM by Paul Ferguson.
*
* Description: For notes about this class, refer to the
* PCL documentation file PPageNumbers.html
*-------------------------------------------------------------------------
*/
#include "PPageNumbers.h"
#include "PRequestBuf.h"
#include "PCommand.h"
PPageNumbers::PPageNumbers
( short nStartPage,
short nNumPages,
short bRestart,
short cStyle,
const char * sPrefix )
{
PRequestBuf request(strlen(sPrefix) + 10);
if (sPrefix == NULL)
request << nStartPage << nNumPages << bRestart << cStyle << (short)0;
else
request << nStartPage << nNumPages << bRestart << cStyle << sPrefix;
PCommand command(pm_pagenumbers, request);
}
// end of PPageNumbers.cpp